FROM swr.cn-north-4.myhuaweicloud.com/gitcode-be/node:18-alpine-new
# FROM node:18-alpine
# RUN npm install pm2@5.3.1 -g
# RUN pm2 install pm2-logrotate
ADD ./.output /data/web/app/.output
ADD ./pages/Doc /data/web/app/pages/Doc
ADD package.json ecosystem.config.cjs /data/web/app/
WORKDIR /data/web/app/
CMD ["pm2-runtime", "start", "ecosystem.config.cjs"]

